<div class="loginMain" ng-controller="loginCtrl">


  <div class="loginHeader"></div>

  <div class="loginInput" id="yhm">

    <i id="loginUserImg"></i>

    <input type="text" id="upperInput"  class="loginUser" placeholder="用户名" ng-model="user" required="required">

  </div>
  <div class="loginInput" id="mm">

    <i id="loginPassImg"></i>

    <input type="password" id="downerInput" class="loginUser" placeholder="密码" ng-model="password" required="required">

  </div>
  <div class="loginBtn" ng-click="login()" >
    登录
  </div>
</div>
